package cn.lili.modules.grab.dingdong.service;

import cn.lili.modules.grab.dingdong.reps.adjunct.RegionAllRespose;
import cn.lili.modules.grab.dingdong.reps.order.CreateOrderRespose;
import cn.lili.modules.grab.dingdong.reps.order.FreightCalcRespose;
import cn.lili.modules.grab.dingdong.reps.order.GetOrderInfoRespose;
import cn.lili.modules.grab.dingdong.res.order.CreateOrderRequest;
import cn.lili.modules.grab.dingdong.res.order.FreightCalcRequest;
import cn.lili.modules.grab.dingdong.res.order.GetOrderInfoRequest;

import java.util.List;

public interface DingdongOrderService {

    /**
     * 运费计算
     *
     * @param freightCalcRequest 请求内容
     */
    FreightCalcRespose freightCalc(FreightCalcRequest freightCalcRequest);

    /**
     * 创建订单
     *
     * @param createOrderRequest 请求内容
     */
    CreateOrderRespose createOrder(CreateOrderRequest createOrderRequest);

    /**
     * 订单详情
     *
     * @param getOrderInfoRequest 请求内容
     */
    List<GetOrderInfoRespose> getOrderInfo(GetOrderInfoRequest getOrderInfoRequest);
}
